package com.baidu.fsg.uid.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author fengzhihao
 * @version v1
 * @program: platform
 * @className JpaConfig
 * @description TODO
 * @site 
 * @company 
 * @create 2020-07-12 14:31
 */
@EnableTransactionManagement(proxyTargetClass = true)//启用JPA的事物管理
@EnableJpaRepositories(basePackages = {"com.baidu.fsg.uid.worker.dao"})
@EntityScan("com.baidu.fsg.uid.worker.entity")
public class JpaConfiguration {

}
